package com.xiongwei.myspringbootproject.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author XiongWei
 * @date 2021/10/28
 */
@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Table(name = "stb_category")
public class Category_STB {

    @Id
    private Long id;

    @Column
    private String oneLevelCode;

    @Column
    private String oneLevelName;

    @Column
    private String twoLevelCode;

    @Column
    private String twoLevelName;

    @Column
    private String threeLevelCode;

    @Column
    private String threeLevelName;

    @Column
    private String fourLevelCode;

    @Column
    private String fourLevelName;
}
